import axios from "axios"

export function request(config){
  //创建axios实例
  const axios1 = axios.create({
    timeout: 5000,
    baseURL: '/api'
  })

  //真正发送网络请求
  return axios1(config)
}


